 package org.edu.modules.abutment.service.impl;

 import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
 import java.util.HashMap;
 import java.util.Map;
 import org.edu.modules.abutment.entity.VeAddonsAbutmentReply;
 import org.edu.modules.abutment.mapper.VeAddonsAbutmentMapper;
 import org.edu.modules.abutment.mapper.VeAddonsAbutmentReplyMapper;
 import org.edu.modules.abutment.service.IVeAddonsAbutmentReplyService;
 import org.springframework.beans.factory.annotation.Autowired;
 import org.springframework.stereotype.Service;






 @Service
 public class VeAddonsAbutmentReplyServiceImpl
   extends ServiceImpl<VeAddonsAbutmentReplyMapper, VeAddonsAbutmentReply>
   implements IVeAddonsAbutmentReplyService
 {
   @Autowired
   private VeAddonsAbutmentReplyMapper veAddonsAbutmentReplyMapper;
   @Autowired
   private VeAddonsAbutmentMapper veAddonsAbutmentMapper;

   public int changeStatusByIds(String[] ids, int status) {
     Map<String, Object> map = new HashMap<>();
/* 30 */     map.put("ids", ids);
/* 31 */     map.put("status", Integer.valueOf(status));
/* 32 */     int ret = this.veAddonsAbutmentReplyMapper.changeStatusByIds(map);
/* 33 */     this.veAddonsAbutmentMapper.changeStatusByReplyIds(map);
/* 34 */     return ret;
   }
 }


